#include "stdafx.h"
#include "Damage.h"


Damage::Damage(Entity & source) :
source(source)
{
	value = 0.0f;
	type = DT_NULL;
}

Damage::Damage(Entity & source, int dmg, std::wstring type) :
source(source)
{
	this->value = dmg;
	this->type = std::move(type);
}

Damage::~Damage()
{
}

Entity & Damage::GetSource()
{
	return source;
}

int Damage::GetValue()
{
	return value;
}